package com.guijq.design.strategy.ducks;

import com.guijq.design.strategy.ducks.duck.Duck;
import com.guijq.design.strategy.ducks.duck.ModelDuck;

/**
 * Created by jiafe on 2018/7/28.
 */
public class DuckSimulator {
    public static void main (String[] args) {
        Duck d = new ModelDuck();
        d.display();
        d.performFly();
        d.performQuack();
        d.swim();
    }
}
